import ZegoEvents from "./ZegoEvents";

const { ccclass, property } = cc._decorator;

@ccclass
export default class ExitConfirm extends cc.Component {



    // LIFE-CYCLE CALLBACKS:

    // onLoad () {}

    private onBtnClickCancel() {
        this.node.active = false;
    }

    private onBtnClickQuit() {
        this.node.active = false;
        ZegoEvents.exitGame();
    }
}
